package com.dianjing.dianjing.dto.input;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @Author liangbaigao
 * @Date 2022/11/8 16:25
 */
@Data
public class PublishInput {


    @ApiModelProperty(value = "需求方昵称")
    private String name;

    @ApiModelProperty(value = "需求方id")
    private Long demandUserId;

    @ApiModelProperty(value = "需求方头像")
    private String icon;

    @ApiModelProperty(value = "需求标题")
    private String title;

    @ApiModelProperty(value = "需求内容")
    private String content;

    @ApiModelProperty(value = "需求类型，0-角色，1-场景，2-Q版，3-水彩，4-二次元")
    private Integer type;

    @ApiModelProperty(value = "需求报价")
    private Double price;

    @ApiModelProperty(value = "联系方式")
    private String phone;

    @ApiModelProperty(value = "需求状态 0-待响应 1-待接受 2-已接受 3-被拒绝")
    private Integer state;

    @ApiModelProperty(value = "待接受画师的id")
    private Long painterId;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "最后期限")
    private Date ddl;

}
